<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <title>Tam - Creative Portfolio Template</title>
    <meta name="description" content="Tam - Creative Portfolio Template"/>
    <meta name="keywords"
          content="blog, business card, creative, creative portfolio, cv theme, online resume, personal, portfolio, professional cv, responsive portfolio, resume, resume theme, vcard"/>
    <meta name="author" content="beingeorge"/>
    <meta name="theme-color" content="#2a2d35">

    <!-- Vendor Css-->
    <link rel="stylesheet" href="../static/css/vendor.css"/>
    <link rel="stylesheet" href="../static/css/LineIcons.min.css"/>

    <!-- TamTemplate style Css -->
    <link href="../static/css/tam.css" rel="stylesheet">
    <script type="text/javascript" src="../static/js/vue.min.js"></script>
    <script type="text/javascript" src="../static/js/jquery-3.4.1.min.js"></script>
    <!-- Custom style Css -->
    <!--	<link href="css/custom.css" rel="stylesheet">-->
</head>

<body data-spy="scroll" data-target=".navbar">

<!-- START: Preloader -->
<div id="preloader" class="preloader">
    <div class="spinner-grow text-dark" role="status">
        <span class="sr-only">Loading...</span>
    </div>
</div>
<!-- END: Preloader -->


<!-- START: Aside -->
<aside class="aside">
    <!-- START: NAVBAR -->

    <div class="nav-wrapper">

        <div class="navbar-toggler">
            <svg class="ham hamRotate ham1" viewBox="0 0 100 100" width="60">
                <path class="line top"
                      d="m 30,33 h 40 c 0,0 9.044436,-0.654587 9.044436,-8.508902 0,-7.854315 -8.024349,-11.958003 -14.89975,-10.85914 -6.875401,1.098863 -13.637059,4.171617 -13.637059,16.368042 v 40"/>
                <path class="line middle" d="m 30,50 h 40"/>
                <path class="line bottom"
                      d="m 30,67 h 40 c 12.796276,0 15.357889,-11.717785 15.357889,-26.851538 0,-15.133752 -4.786586,-27.274118 -16.667516,-27.274118 -11.88093,0 -18.499247,6.994427 -18.435284,17.125656 l 0.252538,40"/>
            </svg>
        </div>

        <nav class="navbar text-center align-items-center justify-content-center">


            <div class="collapse navbar-collapse show" id="navbarCollapse">
                <div class="about-avatar mb-5">
                    <a href="/">
                        <img src="../static/images/about.jpg" alt=""
                             class="img-fluid mx-auto d-block shadow-sm rounded-full">
                    </a>

                    <div class="about-avatar-details mt-4">
                        <h1>Alice Joseph</h1>
                        <p class="badge">UI Designer</p>
                    </div>

                </div>
                <ul class="navbar-nav mx-auto">
                    <li class="nav-item">
                        <a class="nav-link" href="/"><i class="lni-home"></i>Home</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/resume"><i class="lni-briefcase"></i>resume</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/work"><i class="lni-graduation"></i>Portfolio</a>
                    </li>
                    <li class="nav-item active">
                        <a class="nav-link" href="/services"><i class="lni-offer"></i>Services</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/blog/"><i class="lni-pencil"></i></i>Blog</a>
                    </li>
                    <li class="nav-item">
                        <a class="nav-link" href="/contact/"><i class="lni-phone-handset"></i>Contact</a>
                    </li>
                </ul>
            </div>

            <!--               	<div class="aside-footer">-->
            <!--                	<ul class="list-unstyled list-inline">-->
            <!--                        <li class="list-inline-item"><a href="#"><i class="lni-facebook-filled"></i></a></li>-->
            <!--                        <li class="list-inline-item"><a href="#"><i class="lni-skype"></i></i></a></li>-->
            <!--                        <li class="list-inline-item"><a href="#"><i class="lni-youtube"></i></a></li>-->
            <!--                        <li class="list-inline-item"><a href="#"><i class="lni-linkedin-original"></i></a></li>-->
            <!--                    </ul>-->
            <!--                </div>-->
        </nav>
    </div>
    <!-- END: NAVBAR -->
</aside>
<!-- START: Aside -->

<div class="page-overlay">
    <span class="overlay-1"></span>
    <span class="overlay-2"></span>
</div>

<div class="page-wrapper">

    <!-- START: SERVICES -->
    <section class="section section-light section-services" id="services">
        <div class="container">
            <div class="section-head">
                <span>WHAT I DO</span>
                <h2>My Services</h2>
            </div>

            <div class="row mt-4" id="app">
                {% for item in service%}
                <div class="col-sm-6 col-lg-6">
                    <div class="services-list b-box hover-state p-4 mt-4 wow fadeInUp" data-wow-duration="1.5s"
                         data-wow-delay=".{{item.id}}s">
                        <div class="services-list-icon">
                            <i class="{{item.Icon}}"></i>
                            <span>{{item.Number}}</span>
                        </div>
                        <div class="mt-4">
                            <h5 class="mb-0">{{item.Name}}</h5>
                            <p class=" mt-3">{{item.Introduction}}</p>
                        </div>
                    </div>
                </div>
                {% endfor %}
            </div>
        </div>
    </section>
    <!-- END: SERVICES -->

    <!-- START: PRICING -->
<!--    <section class="section section-dark section-pricing">-->
<!--        <div class="container">-->
<!--            <div class="section-head">-->
<!--                <span>WHAT I DO</span>-->
<!--                <h2>My Services</h2>-->
<!--            </div>-->

<!--            <div class="row mt-5 py-5">-->
<!--                <div class="col-md-4">-->
<!--                    <div class="price-box b-box">-->
<!--                        <div class="price-box-head p-4">-->
<!--                            <h6 class="badge">Basic</h6>-->
<!--                            <div class="bold price-price">-->
<!--                                <sup>$</sup>-->
<!--                                <span>29</span>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <hr>-->
<!--                        <ul class="price-features">-->
<!--                            <li>Community Support</li>-->
<!--                            <li>200+ Pages</li>-->
<!--                            <li>10 Header variations</li>-->
<!--                            <li>24/7 Free Support</li>-->
<!--                            <li><i class="fas fa-times"></i></li>-->
<!--                            <li><i class="fas fa-times"></i></li>-->
<!--                        </ul>-->
<!--                        <hr>-->
<!--                        <div class="text-center p-3">-->
<!--                            <button class="btn btn-small shadow-none">Start</button>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="col-md-4">-->
<!--                    <div class="price-box b-box featured">-->
<!--                        <div class="price-box-head p-4">-->
<!--                            <h6 class="badge">Enterprice</h6>-->
<!--                            <div class="bold price-price">-->
<!--                                <sup>$</sup>-->
<!--                                <span>399</span>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <hr>-->
<!--                        <ul class="price-features">-->
<!--                            <li>Community Support</li>-->
<!--                            <li>200+ Pages</li>-->
<!--                            <li>10 Header variations</li>-->
<!--                            <li>24/7 Free Support</li>-->
<!--                            <li>Priority Support</li>-->
<!--                            <li>20+ home page options</li>-->
<!--                        </ul>-->
<!--                        <hr>-->
<!--                        <div class="text-center p-3">-->
<!--                            <button class="btn btn-small shadow-none">Start</button>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--                <div class="col-md-4">-->
<!--                    <div class="price-box b-box">-->
<!--                        <div class="price-box-head p-4">-->
<!--                            <h6 class="badge">Company</h6>-->
<!--                            <div class="bold price-price">-->
<!--                                <sup>$</sup>-->
<!--                                <span>299</span>-->
<!--                            </div>-->
<!--                        </div>-->
<!--                        <hr>-->
<!--                        <ul class="price-features">-->
<!--                            <li>Community Support</li>-->
<!--                            <li>200+ Pages</li>-->
<!--                            <li>10 Header variations</li>-->
<!--                            <li>24/7 Free Support</li>-->
<!--                            <li><i class="fas fa-times"></i></li>-->
<!--                            <li><i class="fas fa-times"></i></li>-->
<!--                        </ul>-->
<!--                        <hr>-->
<!--                        <div class="text-center p-3">-->
<!--                            <button class="btn btn-small shadow-none">Start</button>-->
<!--                        </div>-->
<!--                    </div>-->
<!--                </div>-->
<!--            </div>-->
<!--        </div>-->
<!--    </section>-->
    <!-- END: PRICING -->


</div>


<!-- JAVASCRIPTS -->

<script src="../static/js/vendor.js"></script>

<!-- Map -->
<script src="../static/js/map.js"></script>
<script src="https://ditu.google.cn/maps/api/js?key=AIzaSyD79MY72taVRlZVX2DU6L5PXOh3ezUUKMc&amp;callback=initMap"
        async="" defer=""></script>

<!-- Custom Js -->
<script src="../static/js/custom.js"></script>
</body>
<script>
    var app = new Vue({
        el: '#app',
        data: {
            guzhuang: []
        },
        methods: {
            getGuzhuang: function () {
                var that = this;
                $.ajax({
                    url: '/getMyServices/',
                    type: 'GET',
                    dataType: 'json',
                    data: {},
                    success: function (data) {
                        for (var i = 0; i < data.length; i++) {
                            that.guzhuang.push(data[i]);
                        }
                    },
                    error: function () {
                        alert('服务器超时，请重试！');
                    }
                });
            }
        }
    });
    app.getGuzhuang();
</script>
</html>
